#ifndef FUNCTIONS_H_INCLUDED
#define FUNCTIONS_H_INCLUDED

#include <wx/spinctrl.h>

struct square;

void solve(wxSpinCtrl *grid[9][9]);

void loadGrid(wxSpinCtrl *grid[9][9], square new_grid[9][9]);

void rule_1(square new_grid[9][9]);
bool rule_2(square new_grid[9][9]);
bool rule_3(square new_grid[9][9]);

#endif // FUNCTIONS_H_INCLUDED
